import greenfoot.*;  // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
import java.awt.*;
/**
 * Muestra el mensaje si gano el jugador al pasar todos los niveles
 */
public class Win extends Nivel
{
    private static final String Label = "ganaste";
    private GreenfootImage box;
    
    public Win() 
    {
        box = new GreenfootImage (250, 55);
        
        box.setColor(new Color (0f,0.5f,0f,0.5f));
        box.fillRect (0,0, 420, 60);
        GreenfootImage img = new GreenfootImage (box);
        img.setColor (Color.WHITE);
        img.setFont(new Font("SANS_SERIF", 0, 35));
        img.drawString(Label, 5, 30);
        setImage (img);
    }
}    

